package com.hzc.gulimall.search.vo;

import lombok.Data;

import java.util.List;

/**
 * 封装页面所有可能传递过来的查询条件
 */
@Data
public class SearchParam {
    private String keyword;//页面传递过来的全文匹配关键字
    private Long catalog3Id; //3级分类id
    /**
     * sort = saleCount_asc/desc
     * sort = skuPrice_asc/desc
     * sort = hostScore_asc/desc/
     */
    private String sort;//排序条件
    private Integer hasStock;//是否只显示有货
    /**
     * 400~500:  400_500
     * 500以内：  _500
     * 300以上：  300_
     */
    private String skuPrice;//价格区间
    private List<Long> brandId;//品牌id
    private List<String> attrs;//按照属性进行筛选
    private Integer pageNum = 1;//页码

    private String _queryString;
}
